home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-20 | 1.1 KB | 43 lines | [TEXT/MPCC] |
- // SVEditGXPrinting.c
- //
- // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
- // 3.1 updates by Greg Sutton.
- // GX printing by Don Swatman
- // ©Apple Computer Inc 1995, all rights reserved.
-
- #ifndef __SVEDITGXPRINTING__
- #define __SVEDITGXPRINTING__
-
- #include "SVEditGlobals.h"
-
- // Start up and finish printing
-
- void InitGXIfPresent(void);
- void CleanUpGXIfPresent(void);
-
- // Make any patches to the menu
- short ConvertMenuActualToGXMenu ( short theItem );
-
- // Get a QD rect for a print page
- void GetRectOfPage( DPtr theDoc,
- Rect *pageRect );
-
- // Put up the GX Page Setup dialog
- Boolean DoGXPageSetup ( DPtr theDoc );
-
- // Print a page
- OSErr GXPrintDocument ( DPtr theDoc,
- Boolean askUser );
-
- void DuplicateStyleTERec( TEHandle hSourceTE,
- TEHandle *hDestTE,
- Rect *destRect,
- GrafPtr destPort );
-
- void AdjustMenusForGXPrintDialogs(Boolean dialogGoingUp);
- void SetupGXEditMenuRec(gxEditMenuRecord *editMenuRec);
- OSErr PrintAShape(gxShape currentShape, long refCon);
- OSErr GXPrintLoop(DPtr theDoc);
-
- #endif
-